﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataImporter.Models
{
    /// <summary>
    /// 乳腺癌
    /// </summary>
    public class BC
    {
        /// <summary>
        /// ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { set; get; }

        /// <summary>
        /// 答案
        /// </summary>
        [SugarColumn(Length = 30)]
        public string Answer { set; get; }

        /// <summary>
        /// 问题
        /// </summary>
        [SugarColumn(Length = 30)]
        public string Question { set; get; }

        /// <summary>
        /// 编码
        /// </summary>
        [SugarColumn(Length = 20)]
        public string Code { set; get; }

        /// <summary>
        /// 指数
        /// </summary>
        public float Score { set; get; }

        /// <summary>
        /// 顺序
        /// </summary>
        public int Order { set; get; }

        /// <summary>
        /// 父ID
        /// </summary>
        [SugarColumn(Length = 20, IsNullable = true)]
        public string ParentCode { set; get; }
    }
}
